Plausible\Analytics\WP\Client\Configuration S

Total Complexity 43
Dependencies 1
Dependents 3
Total lines 482
Lines of code 153
Logical lines of code 69
Comment lines 190
Methods 30
Properties 12

Methods 30

Method Rating Maintainability Complexity Lines of code
getHostString()
A
49 8 29
getApiKeyWithPrefix()
S
61 3 13
getDefaultConfiguration()
S
71 2 6
getApiKey()
S
78 2 3
getApiKeyPrefix()
S
78 2 3
setUserAgent()
S
68 2 7
__construct()
S
80 1 3
getHost()
S
82 1 3
getHostFromSettings()
S
78 1 3
setDebugFile()
S
77 1 4
getDebugFile()
S
82 1 3
setDebug()
S
77 1 4
getDebug()
S
82 1 3
getUserAgent()
S
82 1 3
setHost()
S
77 1 4
setPassword()
S
77 1 4
toDebugReport()
S
66 1 8
getPassword()
S
82 1 3
setUsername()
S
77 1 4
getUsername()
S
82 1 3
setBooleanFormatForQueryString()
S
77 1 4
getBooleanFormatForQueryString()
S
82 1 3
setAccessToken()
S
77 1 4
getAccessToken()
S
82 1 3
setApiKeyPrefix()
S
76 1 4
setApiKey()
S
76 1 4
setDefaultConfiguration()
S
80 1 3
setTempFolderPath()
S
77 1 4
getTempFolderPath()
S
82 1 3
getHostSettings()
S
69 1 8